<template>
    <table>
        <thead>
            <slot name="thead"></slot>
        </thead>
        <tbody>
            <slot name="tbody"></slot>
        </tbody>
    </table>
</template>
<style scoped>
table,thead,tbody,th,tr,td{
    border:1px solid #000;
}
</style>